package com.huike.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huike.Position.pojos.Position;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PositionMapper extends BaseMapper<Position> {
    //添加岗位
    void insertPosition(Position position);
    //根据岗位名称查询岗位
    Integer getByName(Position position);

    Integer getByNumber(Position position);

    Position getById(Integer id);

    void deletePosition(List<Integer> ids);

    void updatePosition(Position position);
}
